package com.ostrich.a2104gao5.test23

/**
 * @Author : yaotianxue
 * @Time : On 2023/10/17 13:31
 * @Description : IConsumer
 *
 * in(逆变):泛型只能作为输入参数
 */
interface IConsumer<in T> {
    fun spend(t:T)
}